package com.dwxt.community.exception;

import com.dwxt.common.base.*;

/**
 * @program: intelligentcity
 * @description: 自定义异常
 * @author
 * @create: 2020/05/14
 */
public class DefinedException extends RuntimeException {

    private BaseResult baseResult;

    public DefinedException(BaseResult baseResult) {
        this.baseResult = baseResult;
    }

    public BaseResult getBaseResult() {
        return baseResult;
    }
}
